package cn.tedu.autoshow.website.mapper;


import cn.tedu.autoshow.website.pojo.entity.Paper;
import cn.tedu.autoshow.website.pojo.vo.PaperListItemVO;
import cn.tedu.autoshow.website.pojo.vo.PaperStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PaperMapper extends BaseMapper<Paper> {
    int insert(Paper paper);

    PaperStandardVO getStandardById(Long id); //根据id查询一个
    List<PaperListItemVO> list();             //批量查询
}
